using UnityEngine; public class EX1 : MonoBehaviour { public bool cle = true ; // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { if(!cle) { print("porte fermée"); } else { print("porte ouverte"); } } // Update is called once per frame void Update() { } }